package edu.napier.soc.xfdm.parser;

public class InterpreterException extends ExecuteException {

	private final int executed;
	private final String command;

	public InterpreterException(String message, int line, int column,
			int executed) {
		this(message, line, column, executed, null);
	}

	public InterpreterException(String message, int line, int column, int executed, String command) {
		super(message, line, column);
		this.executed = executed;
		this.command = command;
	}

	public int getExecuted() {
		return executed;
	}

	public String getCommand() {
		return command;
	}
}